<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>随手拍 - 第{$_GET['page']?$_GET['page']:1}页 - {$Config.sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/suishoupai.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">

    <include file="Public:header" />

    <a href="{$midad.linkurl}" class="b-banner_big" style="background-image: url(__FILESURL__{$midad.image});">{$midad.title}</a>

<div id="mainbody">
    <div class="mainbody__title">
        <span class="mainbody__f1">随手拍</span>
        <span class="mainbody__f2">随时随地分享美食，小心有惊喜哦！</span>
        <span class="mainbody__f3"><a href="__WEBURL__/user/bake/suipaiadd">+发布随手拍</a></span>
    </div>
    <div id="wrapper">
        <div class="brand-list">
            <div class="brand-bd cle" id="brand-waterfall">
                <!-- 循环字母模块 item -->
                <empty name="list"><div class="nodata">暂无随手拍作品</div></empty>
                <foreach name="list" item="vo">
                <div class="item">
                    <div class="b-ssp">
                        <a href="__WEBURL__/suipai/{$vo.id}" class="b-ssp__pic"><img src="__FILESURL__{$vo.image}" alt="{$vo.title}"></a>
                        <div class="b-ssp__name"><a href="__WEBURL__/suipai/{$vo.id}">{$vo.title|str_cut=12}</a></div>
                        <div class="b-ssp__desc">
                            {$vo.content|str_cut=50}
                        </div>
                        <div class="ofh" style="line-height: 25px">
                            <a href="__WEBURL__/u/{$vo.openuid}" class="b-ssp__user">
                                <img src="{$vo.uavatar|getUavatar}" class="pic_mid"><span>{$vo.nickname}</span>
                            </a>
                            <if condition="$vo.ifrz eq 1">
                            <a href="__WEBURL__/us/renzheng.html"><i class="b-renzhengIcon pic_mid"></i></a>
                                </if>
                            <div class="b-ssp__time">{$vo.create_time|format_time}</div>
                        </div>
                    </div>
                </div>
                </foreach>
            </div>
            <div class="clear"></div>
            <div class="pager">{$Page}</div>

        </div>
    </div>
</div>
    <include file="Public:footer" />
</div>
<script type="text/javascript">
    var _PageHeight = document.body.clientHeight,
        _PageWidth = document.body.clientWidth;
    var _LoadingTop = _PageHeight > 61 ? (_PageHeight - 61) / 2 : 0,
        _LoadingLeft = _PageWidth > 215 ? (_PageWidth - 215) / 2 : 0;
    var _LoadingHtml = '<div id="loadingDiv" style="position:absolute;left:0;width:100%;height:' + _PageHeight + 'px;top:0;background:#000;opacity:0.8;filter:alpha(opacity=80);z-index:10000;"><div style="position: absolute; cursor1: wait; left: ' + _LoadingLeft + 'px; top:' + _LoadingTop + 'px; width: auto; height: 60px; line-height: 60px; padding: 5px; background: #fff ; border: 1px solid #95B8E7; color: #696969;">大量随手拍作品加载中，请等待...</div></div>';
    document.write(_LoadingHtml);
    document.onreadystatechange = completeLoading;
    function completeLoading() {
        if (document.readyState == "complete") {
            var loadingMask = document.getElementById('loadingDiv');
            loadingMask.parentNode.removeChild(loadingMask);
        }
    }
</script>
<script src="__JS__/index.js"></script>
<script src="__JS__/preloadjs-0.4.1.min.js"></script>
<script src="__JS__/pannysp.js"></script>

</body>
</html>